<template>
  <div class="mask" v-show="isShow">
    <div class="loading">
      <img class="img" src="../../assets/123.gif" alt="">
    </div>

  </div>
</template>

<script>
export default {
  data () {
    return {
      isShow: false
    }
  }
}
</script>

<style lang="scss" scoped>
.mask{
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
  background:rgba(0, 0, 0, 0.8);
  z-index: 999;
  .img{
    width: 50px;
    height: 50px;
    position: fixed;
    left: 42%;
    top: 48%;
  }
}
</style>
